package chaohao.mybatis.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import chaohao.mybatis.model.CityDto;

public interface CityDtoMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(CityDto record);

	int insertSelective(CityDto record);

	CityDto selectByPrimaryKey(Integer id);

	@Select("select * from tb_city")
	List<CityDto> selectAll();

	int updateByPrimaryKeySelective(CityDto record);

	int updateByPrimaryKey(CityDto record);
}